﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace ueEngine.Framework.Configuration.Config.Observer
{
    public class ObserverItem : ConfigurationElement
    {
        [ConfigurationProperty("method",IsKey=true, IsRequired = true)]
        public string Method
        {
            get
            {
                return (string)base["method"];
            }
            set
            {
                base["method"] = value;
            }
        }
        [ConfigurationProperty("parameterlen", IsRequired = true)]
        public int ParameterLen
        {
            get
            {
                return Convert.ToInt32(base["parameterlen"]);
            }
            set
            {
                base["parameterlen"] = value;
            }
        }
    }
}
